export const productColumns = [
  {
    title: '#',
    scopedSlots: { customRender: 'serial' }
  },
  {
    title: '名称',
    dataIndex: 'goodsName'
  },
  {
    title: '品牌',
    dataIndex: 'brand'
  },
  {
    title: '产品类型',
    dataIndex: 'goodsTypeName'
  },
  {
    title: '参数',
    dataIndex: 'options'
  },
  {
    title: '单位',
    dataIndex: 'unit'
  },
  {
    title: '数量',
    dataIndex: 'count'
  },
  {
    title: '单价',
    dataIndex: 'price'
  },
  {
    title: '供应商',
    dataIndex: 'supplierName'
  },
  {
    title: '类型',
    dataIndex: 'typeName'
  },
  {
    title: '备注',
    dataIndex: 'note'
  },
  {
    title: '操作',
    dataIndex: 'action',
    width: '150px',
    scopedSlots: { customRender: 'action' }
  }
]

export const fileColumns = [
  {
    title: '#',
    scopedSlots: { customRender: 'serial' }
  },
  {
    title: '创建日期',
    dataIndex: 'createTime'
  },
  {
    title: '文件名称',
    dataIndex: 'fileName',
    scopedSlots: { customRender: 'fileDownload' }
  },
  // {
  //   title: '文件地址',
  //   dataIndex: 'fileUrl'
  // },
  {
    title: '备注',
    dataIndex: 'note'
  },
  {
    title: '操作',
    dataIndex: 'action',
    width: '150px',
    scopedSlots: { customRender: 'action' }
  }
]
export const incomeExpensesColumns = [
  {
    title: '#',
    scopedSlots: { customRender: 'serial' }
  },
  {
    title: '支付阶段',
    dataIndex: 'payMoment'
  },
  {
    title: '支付条件',
    dataIndex: 'payCondition'
  },
  {
    title: '支付比例',
    dataIndex: 'payRatio'
  },
  {
    title: '金额',
    dataIndex: 'amount'
  },
  {
    title: '我方经办人',
    dataIndex: 'ownerHandler'
  },
  {
    title: '甲方经办人',
    dataIndex: 'otherHandler'
  },
  {
    title: '开户行',
    dataIndex: 'bankName'
  },
  {
    title: '开户名',
    dataIndex: 'bankAccountName'
  },
  {
    title: '银行账号',
    dataIndex: 'bankAccount'
  },
  {
    title: '备注',
    dataIndex: 'note'
  },
  {
    title: '操作',
    dataIndex: 'action',
    scopedSlots: { customRender: 'action' }
  }
]
